ga.view.streaming.nodes
Class EvaluationNode

java.lang.Object
  extended by com.jme3.scene.Spatial
      extended by com.jme3.scene.Node
          extended by ga.view.streaming.nodes.EvaluationNode
All Implemented Interfaces:
com.jme3.asset.CloneableSmartAsset, com.jme3.collision.Collidable, com.jme3.export.Savable, java.lang.Cloneable

public class EvaluationNode
extends com.jme3.scene.Node

This node is a zone for up/downvoting individuals by dropping them on this.

Since:
12.08.2012
Author:
Stephan Dreyer

Nested Class Summary
 
Nested classes/interfaces inherited from class com.jme3.scene.Spatial
com.jme3.scene.Spatial.BatchHint, com.jme3.scene.Spatial.CullHint
 
Field Summary
private  com.jme3.scene.Geometry geometry
           
private  boolean mouseOver
           
private  float orgScaleX
           
private  float scaleTo
           
private  float speed
           
 
Fields inherited from class com.jme3.scene.Node
children
 
Fields inherited from class com.jme3.scene.Spatial
batchHint, controls, cullHint, frustrumIntersects, key, localLights, localTransform, name, parent, queueBucket, queueDistance, refreshFlags, RF_BOUND, RF_LIGHTLIST, RF_TRANSFORM, shadowMode, userData, worldBound, worldLights, worldTransform
 
Constructor Summary
EvaluationNode(java.lang.String name, com.jme3.scene.Geometry geo)
          Instantiates a new evaluation node.
 
Method Summary
 boolean isMouseOver()
          Checks if mouse is over.
 void setMouseOver(boolean mouseOver)
          Sets the mouse over.
 void updateLogicalState(float tpf)
           
 
Methods inherited from class com.jme3.scene.Node
attachChild, attachChildAt, breadthFirstTraversal, clone, collideWith, deepClone, depthFirstTraversal, descendantMatches, descendantMatches, descendantMatches, detachAllChildren, detachChild, detachChildAt, detachChildNamed, getChild, getChild, getChildIndex, getChildren, getQuantity, getTriangleCount, getVertexCount, hasChild, read, setLightListRefresh, setLodLevel, setMaterial, setModelBound, setTransformRefresh, swapChildren, updateGeometricState, updateModelBound, updateWorldBound, write
 
Methods inherited from class com.jme3.scene.Spatial
addControl, addLight, breadthFirstTraversal, center, checkCulling, clone, forceRefresh, getBatchHint, getControl, getControl, getCullHint, getKey, getLastFrustumIntersection, getLocalBatchHint, getLocalCullHint, getLocalLightList, getLocalQueueBucket, getLocalRotation, getLocalScale, getLocalShadowMode, getLocalToWorldMatrix, getLocalTransform, getLocalTranslation, getName, getNumControls, getParent, getQueueBucket, getShadowMode, getUserData, getUserDataKeys, getWorldBound, getWorldLightList, getWorldRotation, getWorldScale, getWorldTransform, getWorldTranslation, hasAncestor, localToWorld, lookAt, matches, move, move, removeControl, removeControl, removeFromParent, removeLight, rotate, rotate, rotateUpTo, runControlRender, scale, scale, setBatchHint, setBoundRefresh, setCullHint, setKey, setLastFrustumIntersection, setLocalRotation, setLocalRotation, setLocalScale, setLocalScale, setLocalScale, setLocalTransform, setLocalTranslation, setLocalTranslation, setName, setParent, setQueueBucket, setShadowMode, setUserData, toString, updateWorldLightList, updateWorldTransforms, worldToLocal
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

geometry

private final com.jme3.scene.Geometry geometry

scaleTo

private float scaleTo

speed

private final float speed
See Also:
Constant Field Values

mouseOver

private boolean mouseOver

orgScaleX

private final float orgScaleX
Constructor Detail

EvaluationNode

public EvaluationNode(java.lang.String name,
                      com.jme3.scene.Geometry geo)
Instantiates a new evaluation node.

Parameters:
name - the name
geo - the geometry
Since:
12.08.2012
Method Detail

updateLogicalState

public void updateLogicalState(float tpf)
Overrides:
updateLogicalState in class com.jme3.scene.Node

setMouseOver

public void setMouseOver(boolean mouseOver)
Sets the mouse over.

Parameters:
mouseOver - the new mouse over
Since:
12.08.2012

isMouseOver

public boolean isMouseOver()
Checks if mouse is over.

Returns:
true, if mouse is over
Since:
12.08.2012